package com.jsh.erp.datasource.mappers;

import com.jsh.erp.datasource.entities.SupplierGroup;
import com.jsh.erp.datasource.entities.SupplierGroupExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SupplierGroupMapper {
    long countByExample(SupplierGroupExample example);

    int deleteByExample(SupplierGroupExample example);

    int deleteByPrimaryKey(Long id);

    int insert(SupplierGroup record);

    int insertSelective(SupplierGroup record);

    List<SupplierGroup> selectByExample(SupplierGroupExample example);

    SupplierGroup selectByPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") SupplierGroup record, @Param("example") SupplierGroupExample example);

    int updateByExample(@Param("record") SupplierGroup record, @Param("example") SupplierGroupExample example);

    int updateByPrimaryKeySelective(SupplierGroup record);

    int updateByPrimaryKey(SupplierGroup record);
}